package cn.edu.scau.cmi.xuxingao.adapter;

import java.util.List;

public class SortUtil {
	public void sortInt(List<Integer> intList) {
		for(int i=0;i<intList.size();i++) {
			for(int j=0;j<intList.size()-1;j++) {
				if(intList.get(j)>intList.get(j+1)) {
					int temp = intList.get(j);
					intList.set(j,intList.get(j+1));
					intList.set(j+1, temp);
				}	
			}
		}
	}
}
